<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>三联动城市选择Demo -- by ls</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" ></script>
  <script type="text/javascript" src="jquery.citydata.js" ></script>
  <script type="text/javascript" src="jquery.selectcity.js" ></script>
  <script type="text/javascript" >
	$(function(){
		$("#city").selectcity();
	})
  </script>
  <style type="text/css">
	.city{
		display:inline;
	}
  </style>
 </head>

 <body>
 <div>
	<p><input type="text" id="city" value="浙江-宁波-鄞州" /></p>
	<p><button onclick="alert($('#city').val());">查看当前选择地址</button></p>
 </div>
 </body>
</html>
